package com.gxa.meiye.admin.platform.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gxa.meiye.admin.platform.pojo.vo.AdminVo;
import com.gxa.meiye.admin.platform.pojo.vo.MenuVo;

import java.util.List;
import java.util.Set;

/**
 * @author bill
 * @date 2022/7/1 11:42
 */
public interface AdminService extends IService<AdminVo> {
    AdminVo queryAdminByName(String name);

    Set<String> queryPerms(String name);

    Integer queryAdmin(AdminVo adminVo);

    AdminVo queryAdminById(Integer id);

    List<MenuVo> selPMenu(Integer user_id);

    List<MenuVo> selSMenu(Integer id);

    Integer updatePwd(AdminVo adminVo);
}
